import request from '@/utils/request'
// 查询表格
export function getList(data) {
  return request({
    url: '/api/Organization/GetList',
    method: 'post',
    data: data
  })
}
// 新增 修改
export function save(data) {
  return request({
    url: '/api/Organization/Save',
    method: 'post',
    data: data
  })
}
// 删除
export function deleteApi(data) {
  return request({
    url: '/api/Organization/Delete',
    method: 'post',
    data: data
  })
}
// 是否启用
export function valid(data) {
  return request({
    url: '/api/Organization/Valid',
    method: 'post',
    data: data
  })
}
export function GetById(data) {
  return request({
    url: '/api/Organization/GetById',
    method: 'post',
    data: data
  })
}


// 获取公司组织架构等级Organization/GetOrgLevel
export function GetOrgLevel(data) {
  return request({
    url: '/api/Organization/GetOrgLevel',
    method: 'post',
    data: data
  })
}
//查询地区集合树状结构数据 
export function GetAreaList(data) {
  return request({
    url: '/api/Organization/GetAreaList',
    method: 'post',
    data: data
  })
}
